#include "DynamicManager.h"
#include "Global.h"
DynamicManager::DynamicManager(void){}
DynamicManager::~DynamicManager(void){}

void DynamicManager::add(Dynamic* obj)
{
	listDynamic.push_back(obj);
}
void DynamicManager::remove(Dynamic *obj){

	listDynamic.remove(obj);

}
void DynamicManager::render(){

	list<Dynamic*>::iterator it;
	for (it = listDynamic.begin(); it != listDynamic.end(); it++)
	{
		(*it)->Render();
	}
}